Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically add ammo items to vehicle ammo ThingFilter #2817

Merged
merged 4 commits into from
Oct 21, 2023

Conversation

perkinslr
Copy link
Contributor

Respects generic ammo, and no ammo modes.

Changes

Vehicle patches should no longer manually assign ammos, they are auto assigned from the ammoset if one is specified and ammo is enabled.

Reasoning

The previous approach duplicated information, allowing data to be out of sync. It also made generic ammo support difficult.

Alternatives

Manually specify both

Testing

Check tests you have performed:

  • Compiles without warnings
  • Game runs without errors
  • (For compatibility patches) ...with and without patched mod loaded
  • Playtested a colony (specify how long)

Respects generic ammo, and no ammo modes.
@perkinslr perkinslr requested review from a team as code owners October 15, 2023 23:13
@github-actions
Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-6527047683.zip

@github-actions github-actions bot added the Download in Comments This PR has a zipfile download available. label Oct 15, 2023
@github-actions
Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-6527766215.zip

@github-actions
Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-6543229507.zip

Thorbane
Thorbane previously approved these changes Oct 19, 2023
@github-actions
Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-6570393605.zip

Copy link
Contributor

@N7Huntsman N7Huntsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works in testing in normal, generic, and no ammo mode.

@perkinslr perkinslr merged commit 496d166 into Development Oct 21, 2023
2 checks passed
@perkinslr perkinslr deleted the vehicleammo branch October 21, 2023 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Download in Comments This PR has a zipfile download available.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants